package com.anlu.pattern.structrue.proxy.staticproxy;

/**
 * <p>
 * Description: 静态代理的测试类
 * <p>
 * <p>
 *
 * @author anlu
 * @date 2022/5/5 14:55
 */
public class StaticProxyTest {
    public static void main(String[] args) {
        HouseService renter = new Landlord();
        RenterProxy proxy = new RenterProxy(renter);
        proxy.rentHouse();
    }
}
